<html>
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
      <link rel="stylesheet" type="text/css" href="style.css" />
   </head>
   <body onload="if (top.frames['componentsframe'] == undefined) { s = window.location.toString(); window.location = 'index.html?p=' + s.substring(s.lastIndexOf('/')+1); }">
<h2 class="comptitle">Packet <i>ApplPkt</i></h2>
<b>File: <a href="src-base-messages-ApplPkt.msg.html">src/base/messages/ApplPkt.msg</a></b><br/>
<p>Basic application packet definition</p>
<p>subclass if you want to create your own application layer packet
class</p>
<p><b>Author:</b> Daniel Willkomm</p>
<h3 class="subtitle">Usage diagram:</h3>
<p>The following diagram shows usage relationships between types.
Unresolved types are missing from the diagram. Click <a href="full-msg-usage-diagram.html">here</a> to see the full picture.</p>
<img src="ApplPkt-usage.png" ismap="yes" usemap="#usage-diagram"/><map name="usage-diagram"><area shape="rect" href="ApplPkt.html" title="Packet ApplPkt" alt="ApplPkt" coords="7,16,79,40">
</map>
<h3 class="subtitle">Inheritance diagram:</h3>
<p>The following diagram shows inheritance relationships for this type.
Unresolved types are missing from the diagram. Click <a href="full-msg-inheritance-diagram.html">here</a> to see the full picture.</p>
<img src="ApplPkt-inheritance.png" ismap="yes" usemap="#inheritance-diagram"/><map name="inheritance-diagram"><area shape="rect" href="ApplPkt.html" title="Packet ApplPkt" alt="ApplPkt" coords="7,16,79,40">
</map>
<h3 class="subtitle">Fields:</h3>
<table class="fieldstable">
   <tr>
      <th class="name">Name</th>
      <th class="type">Type</th>
      <th class="description">Description</th>
   </tr>
<tr class="local">
   <td>destAddr</td>
   <td>
      <i>
LAddress::L3Type</i>
   </td>
   <td>
<p>destination address</p>
</td>
</tr>
<tr class="local">
   <td>srcAddr</td>
   <td>
      <i>
LAddress::L3Type</i>
   </td>
   <td>
<p>source address</p>
</td>
</tr>
</table>
<h3 class="subtitle">Source code:</h3>
<pre class="src"><span style="color: #808080; font-style: italic; ">// Basic application packet definition
//
// subclass if you want to create your own application layer packet
// class
//
// </span><span style="color: #000080; ">@author</span><span style="color: #808080; font-style: italic; "> Daniel Willkomm
</span><span style="color: #800000; font-weight: bold; ">packet</span><span style="color: #000000; "> </span><span style="color: #000000; ">ApplPkt</span><span style="color: #000000; ">
{
    </span><span style="color: #000000; ">LAddress</span><span style="color: #000000; ">::</span><span style="color: #000000; ">L3Type</span><span style="color: #000000; "> </span><span style="color: #000000; ">destAddr</span><span style="color: #000000; "> = </span><span style="color: #000000; ">LAddress</span><span style="color: #000000; ">::</span><span style="color: #000000; ">L3BROADCAST</span><span style="color: #000000; ">; </span><span style="color: #808080; font-style: italic; ">// destination address
</span><span style="color: #000000; ">    </span><span style="color: #000000; ">LAddress</span><span style="color: #000000; ">::</span><span style="color: #000000; ">L3Type</span><span style="color: #000000; "> </span><span style="color: #000000; ">srcAddr</span><span style="color: #000000; "> = </span><span style="color: #000000; ">LAddress</span><span style="color: #000000; ">::</span><span style="color: #000000; ">L3BROADCAST</span><span style="color: #000000; ">; </span><span style="color: #808080; font-style: italic; ">// source address
</span><span style="color: #000000; ">}
</span></pre>
   <hr><p class="footer"><a href="http://creativecommons.org/licenses/by-sa/3.0" target="_top"><img src="by-sa.png"></a> This documentation is released under the <a href="http://creativecommons.org/licenses/by-sa/3.0" target="_top">Creative Commons license</a></p>
   </body>
</html>
